package com.atgugu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author ZhangXinWang
 * @date 2021/8/2 23:37
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_OK,#_#";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-----PaymentFallbackService fall back,#_#";
    }
}
